// 接口返回格式
export interface ResponseModel<T = any> {
  code: number | string;
  data: T;
  msg: string;
}

// 分页数据格式
export interface ListPages<T> {
  list: Array<T>;
  total: number;
  [key: string]: unknown;
}

// 分页参数格式
export type PageLinks<T = unknown> = {
  size: number;
  page: number;
  orderBy?: string;
  asc?: boolean;
} & T;
